package com.yangmao.service.api;

import com.yangmao.entity.Admin;
import com.yangmao.entity.WorkPeople;

import java.util.List;

/**
 * @author ‘洋毛’
 * @version 1.0
 * @description: TODO
 * @date 2022/1/5 22:11
 */
public interface WorkPeopleService {
    List<WorkPeople> getAllWorkPeople(int page,int size);

    WorkPeople getWorkPeopleById(String id);

    void updateWorkPeople(WorkPeople workPeople);

    void deleteWorkPeopleById(String id);

    void addWorkPeople(WorkPeople workPeople);


    List<WorkPeople> getWorkPeopleByIdAndPosition(String id, String position,int page,int size);
}
